/*
 * Copyright (c) 2018. czmc All Rights Reserved.
 * Author: czmc
 * Email: zxc6355533@163.com
 * Encoding: UTF-8
 */

package top.stime21.myneighbours.data.entity;

import java.io.Serializable;

public class Need implements Serializable{
	private long id;
	private long uid;
	private long acceptId;
	private long skillId;
	private String title;
	private String content;
	private String address;
	private double longitude;
	private double latitude;
	private int status;
	private long createTime;
	private long updateTime;
	private Skill skillType;
	private User user;
	private User accepter;

	public Need(long uid, long skillId, String title, String content, String address, double longitude, double latitude, int status) {
		this.uid = uid;
		this.skillId = skillId;
		this.title = title;
		this.content = content;
		this.address = address;
		this.longitude = longitude;
		this.latitude = latitude;
		this.status = status;
	}

	public Need(){}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUid() {
		return uid;
	}
	public void setUid(long uid) {
		this.uid = uid;
	}
	public long getSkillId() {
		return skillId;
	}
	public void setSkillId(long skillId) {
		this.skillId = skillId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public long getAcceptId() {
		return acceptId;
	}
	public void setAcceptId(long acceptId) {
		this.acceptId = acceptId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public User getAccepter() {
		return accepter;
	}
	public void setAccepter(User accepter) {
		this.accepter = accepter;
	}
	public long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}
	public long getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(long updateTime) {
		this.updateTime = updateTime;
	}
	public Skill getSkillType() {
		return skillType;
	}
	public void setSkillType(Skill skillType) {
		this.skillType = skillType;
	}
	
	
	
}
